package com.sskjdata.cg.exception;


import com.sskjdata.cg.dto.ResponseCodeEnum;

/**
 * @Descirption 非法参数异常
 * @Author Jason
 */
public class IllegalParameterException extends IntelligentException {


    public IllegalParameterException(ResponseCodeEnum responseCodeEnum, String msg) {
        super(responseCodeEnum, msg);
    }

    public IllegalParameterException(ResponseCodeEnum responseCodeEnum) {
        super(responseCodeEnum);
    }

    public IllegalParameterException() {
        this(ResponseCodeEnum.PARAMETER_ERROR);
    }

    public IllegalParameterException(String message) {
        super(message);
        this.setResponseCodeEnum(ResponseCodeEnum.PARAMETER_ERROR);
    }

    public IllegalParameterException(String message, Throwable cause) {
        super(message, cause);
    }

    public IllegalParameterException(Throwable cause) {
        super(cause);
    }

    public IllegalParameterException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
